package com.jiantong.work.service.yangzhibaoxian;

/**
 * Created by ThinkPad on 2017/9/5.
 */

import com.jiantong.work.model.yangzhibaoxian.InsuranceTemplate;
import com.jiantong.work.model.yangzhibaoxian.ProspectRecord;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 投保勘察
 */

public interface ProspectRecordService {
    Response<ProspectRecord> findById(Long id);

    Response<List<ProspectRecord>> findByIds(List ids);

    Response<List<ProspectRecord>> list(Map map);

    Response<Paging<ProspectRecord>> ping(Integer offset, Integer limit, Map map);

    Boolean update(ProspectRecord prospectRecord);

    Long create(ProspectRecord prospectRecord);

    Integer creates(List<ProspectRecord> prospectRecordList);

}
